package com.skivingcloud.admin.sys.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * @author hushouquan
 */
@Schema(name = "AdminRouteVueMeta对象", title = "菜单路由属性")
public class AdminRouteVueMeta implements Serializable{
    private String title;
    private String isLink;
    @JsonProperty("isHide")
    private boolean isHide;
    @JsonProperty("isKeepAlive")
    private boolean isKeepAlive;
    @JsonProperty("isAffix")
    private boolean isAffix;
    @JsonProperty("isIframe")
    private boolean isIframe;
    private String[] roles;
    private String icon;
    
    public String getTitle(){
        return title;
    }
    
    public void setTitle(String title){
        this.title = title;
    }
    
    public String getIsLink(){
        return isLink;
    }
    
    public void setIsLink(String isLink){
        this.isLink = isLink;
    }
    
    public boolean isHide(){
        return isHide;
    }
    
    public void setHide(boolean hide){
        isHide = hide;
    }
    
    public boolean isKeepAlive(){
        return isKeepAlive;
    }
    
    public void setKeepAlive(boolean keepAlive){
        isKeepAlive = keepAlive;
    }
    
    public boolean isAffix(){
        return isAffix;
    }
    
    public void setAffix(boolean affix){
        isAffix = affix;
    }
    
    public boolean isIframe(){
        return isIframe;
    }
    
    public void setIframe(boolean iframe){
        isIframe = iframe;
    }
    
    public String[] getRoles(){
        return roles;
    }
    
    public void setRoles(String[] roles){
        this.roles = roles;
    }
    
    public String getIcon(){
        return icon;
    }
    
    public void setIcon(String icon){
        this.icon = icon;
    }
}
